<template>
    <a-tag :color="color[colorType]">{{colorType.toLocaleUpperCase()}}</a-tag>
</template>
<script setup>
import { ref } from 'vue'
const props = defineProps(['colorType']);

const color = {
    get: '#36BA8F',
    post: '#ED8936',
    put: '#3E8DF5',
    delete: '#FA541C',
}
</script>